<template>
  <div>
    <keep-alive>
      <router-view :class="{'default':$store.state.isActive}"></router-view>
    </keep-alive>
  </div>
</template>

<script>
  //Base64
  import {mapState} from "vuex";

  export default {
    computed: {
      ...mapState({
        'isActive': state => state.isActive,
      })
    },
    data() {
      return {}
    },
    methods: {}
  }
</script>

<style lang="less" scoped>
  .default {
    height: 1000px;
    overflow: hidden;
  }
</style>
